home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d20
/
lastc_11.arc
/
LASTCALL.DOC
next >
Wrap
Text File
|
1991-09-29
|
12KB
|
457 lines
27-SEP-1991
LastCall Version 1.10
A BINKLEY.CLD File Analysis Utility
Author: Steven K. Shapiro
SysOp LoneStar CBCS
FidoNet 1:382/35
(512) 258-3643
Program and Documentation
Copyright (C) 1991 SKS Computer Consulting, Inc.
All Rights Reserved
LastCall IS NOT PUBLIC DOMAIN SOFTWARE!
LastCall IS COPYRIGHTED SOFTWARE.
YOU ARE ENTITLED TO USE AND DISTRIBUTE THE
LASTCALL PACKAGE ONLY IN ACCORDANCE WITH THE LICENSE
AGREEMENT CONTAINED HEREIN.
27-SEP-1991
LICENSE AGREEMENT, WARRANTY AND STATEMENT OF LIABILITY
The term "the package" refers to the LastCall software and
documentation, individually and collectively. The term "the author"
shall be construed to mean Steven K. Shapiro.
The package is the exclusive property of the author, and is protected
by copyright laws. By obtaining a copy of the package, you do not
"own" a copy...all property rights are retained by the author. You
are merely licensed to USE it.
This License grants limited rights to use and distribute the package
in accordance with the terms listed herein. Any other use constitutes
a violation of the author's rights under United States Copyright Law,
and applicable treaties.
You may use the package and/or give copies of the package to others,
but only in a form that permits inclusion of all files as found in the
original, archived form in which the package is distributed by the
author. You are not permitted to modify any portion of the package in
any way, including, but not limited to adding files to or removing
files from the distribution package, changing or editing the
documentation, and/or changing or modifying the executable
program(s).
If you find the package to be of use, and feel that a monetary
contribution is in order, you are encouraged to forward it to the
author.
The package is not provided with any warranty of any kind, including,
but not limited to fitness for any particular purpose.
IMPORTANT NOTE: If this License or any portion thereof is not legally
valid in your geographical area or jurisdiction, THIS LICENSE IS
WITHDRAWN and YOU ARE NOT LICENSED TO USE OR DISTRIBUTE THE PACKAGE!
WARNING! YOU USE THIS PACKAGE ENTIRELY AT YOUR OWN RISK! The author
will NOT be responsible for any loss of data, loss of business, loss
of monies or any other damages resulting from the use of, or inability
to use this program. By operating the program, you accept and
acknowledge responsibility IN FULL for all occurrences related to your
use of the program. In any jurisdiction where such limitation of
liability is restricted or forbidden, this program IS NOT licensed for
legal use.
2
27-SEP-1991
OTHER USES (NON-LICENSED USES)
Use and distribution outside the scope of the License Agreement above
is strictly prohibited, unless prior, written permission is obtained
from the author. Inquiries may be directed to: SKS Computer
Consulting, Inc., P.O. Box 202350, Austin, TX, 78720, USA. Include a
self-addressed, stamped envelope for replies.
DISTRIBUTION NOTICE
The package may be posted for download or file request by any FTSC
compliant system in archived form, and in adherence to the terms of
the License above. No profit may be realized directly or indirectly
from such distribution, although the package may be provided for
download on 'pay systems'.
ARCHIVES
The regular distribution version of the package is archived using
PKZIP from PKWare, Inc. This is NOT a political statement, it's a
matter of personal preference.
If you feel it necessary to re-archive the package in a format other
than the format it's delivered in, go ahead, but you should read the
License Agreement carefully. Any distribution of the package requires
that ALL the files AS ORIGINALLY DISTRIBUTED must be included.
Prior to distribution, make certain that you have a full, original
version, and make sure all the files in the package make it into your
new archive. Addition of files to the distribution is prohibited.
PURCHASING COPIES OF THE PACKAGE
The package is also available on diskette within the USA and Canada.
Send check or money order in US dollars to: SKS Computer Consulting,
Inc., P.O. Box 202350, Austin, TX, 78720, USA.
SOURCE CODE
Source code to the package will not be available. I do not feel that
I need to justify my reasoning.
3
27-SEP-1991
PROGRAM OPERATION
LastCall provides the user the ability to compare the values in a
BINKLEY.SCD file with those specified as input arguments to the
LastCall program.
This program was developed because the data structures were changed in
BinkleyTerm 2.50 from those in the previous version. As such, I could
no longer use the utility which I had been using. Unfortunately the
author of that utility had disappeared so I was left without a program
like this.
The initial release only provides the user with the ability to compare
the Network address against the BINKLEY.SCD file. Future versions may
allow additional fields to be compared.
The format for using LastCall is:
LASTCALL /I<input file>
/C<config file>
/A<address>
/E<errorlevel>
Where all arguments are entered on the same line interactively or via
a batch file. The arguments may occur in any order and all should be
entered unless otherwise indicated. Failure to enter any or all
command line arguments will result in undesired results.
/I<Input_file>
Optional.
This is the filename of the BINKLEY.SCD file from which to extract the
information. If you specify this information, LastCall will expect to
find the file specified. If it is not found, or if you fail to
specify a fully qualified DOS filename you're out of luck as LastCall
will not search anywhere else for the file.
If you do not specify an input file, LastCall will first check the
current directory for the file: BINKLEY.SCD and if it finds it,
LastCall will use it as the input file. If LastCall does not find the
file in the current directory, it will attempt to decode the BINKLEY
environment variable. If this variable has not been set, LastCall
will abort. If this variable has been set, LastCall will check for
the existance of a BINKLEY.SCD file in the path pointed to by the
environment variable. If LastCall finds the file, it will use it as
the input file. If it does not find the file, LastCall will abort.
/C<config_file>
Optional.
This file could be used as an alternative to the command line method
of running LastCall. Instead of specifying the target address and
errorlevel via the /A and /E command line switches, the information
4
27-SEP-1991
could be placed into a configuration file.
The advantage to this method is that 1). it provides compatibility
with the method used by Lastnode and 2). it allows you to specify a
list of nodes with their associated errorlevels. If this switch is
specified, it will supercede any values which may be specified with
the /A or /E switches.
Example: LASTCALL /Cconfig.dat
Where config.dat could contain the information in the form:
1:382/3000 124
1:382/35 123
1:382/1 125
When LastCall runs under this scenario, if the last call came from
node 1:382/3000, the errorlevel to be returned would be 124, if the
last call came from node 1:382/35, the errorlevel to be returned would
be 123, etc.
/A<address>
Required if not using the /C option.
This is the network node address you which to check against. This
node number must be a fully qualified '3D' string of the form:
zone:net/node
If you fail to specify the node number properly the program will not
find a match and you will be out of luck.
/E<errorlevel>
Required if not using the /C option.
This is the errorlevel which the program should use when it exits
under a success condition.
When the LastCall comparison is UNSUCCESSFUL, an errorlevel of 0 is
returned.
5
27-SEP-1991
EXAMPLES:
1). LASTCALL /ibinkley.scd /a1:382/35 /e123
LASTCALL would analyse the file binkley.scd in the current directory
to see if the last node which called was 1:382/35. If it was, an
errorlevel of 123 is returned, if it wasn't, an errorlevel of 9 was
returned.
2). LASTCALL /ic:\binkley\binkley.scd /e543 /a1:382/35
LASTCALL would analyse the file binkley.scd in the directory
c:\binkley to see if the last node which called was 1:382/35. If it
was, an errorlevel of 543 is returned, if it wasn't, an errorlevel of
9 was returned.
That's pretty much it. If you have questions or comments, feel free
to contact me via my BBS as listed above.
6
27-SEP-1991
HISTORY
v1.00 09/25/1991
This is the initial release of LastCall.
v1.10 09/28/1991
1. Added functionality to support the optional entry of an input
schedule file as well as a check for the file in the local
directory or via the BINKLEY environment variable.
2. Added support for the /C config file implementation.
7